
#ifndef DOWNBULLET_H
#define DOWNBULLET_H
#include"Defines.h"
#include<QPixmap>
#include<QVector>


class DownBullet
{
public:
    DownBullet();
    //更新子弹坐标
    void updatePosition();
    //子弹是否闲置
    bool b_Free;
    //子弹坐标
    int b_X,b_Y;
    //子弹资源对象
    QPixmap b_Bullet;
    //子弹矩形边框
    QRect b_Rect;

    int b_id;
private:
    //子弹速度
    int b_Speed;

};
#endif // DOWNBULLET_H
